(function(){
	var loc = window.location.href, lnk = ''; loc.replace(/\/([a-z0-9\.]+)\.html$/, function(){
		lnk = arguments[1]
	});

	var htm = '', nav = [
		{url : 'index', name : '容器'}, 
		{url : 'index.info', name : '消息'}, 
		{url : 'index.icon', name : '图标'}, 
		{url : 'index.suggest', name : '推荐'}, 
		{url : 'index.check', name : '选项'}, 
		{url : 'index.datepicker', name : '日历'}, 
		{url : 'index.file', name : '上传'}, 
		{url : 'index.style', name : '样式'}
	];

	htm += '<div class="itabs">';
		htm += '<ul>'; for (var i = 0; i < nav.length; i++){var _v = nav[i];
			htm += '<li><a href="'+_v.url+'.html"'+(lnk == _v.url ? ' class="hover"' : '')+'>'+_v.name+'</a></li>';}
		htm += '</ul><p></p>';
	htm += '</div>';
	document.write(htm);
})();